ExistsWithCursor
TheExistsWithCursor
method returns a Boolean value that indicates whether the focus context represented by the specified storage-unit cursor exists in this storage unit.
ODBoolean ExistsWithCursor (in ODStorageUnitCursor cursor);
cursor
- A reference to the storage-unit cursor representing the focus context to be tested.
- return value
kODTrue
if the focus context specified by the storage-unit cursor exists in this storage unit, otherwisekODFalse
.DISCUSSION
You can call this method to see whether you can focus this storage unit using the specified storage-unit cursor; however, this method does not change the current focus context.If this method returns true, it is safe to call the
FocusWithCursor
method with the specified storage-unit cursor.EXCEPTIONS
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
TheODStorageUnit::Exists
method (page 681).
TheODStorageUnit::FocusWithCursor
method (page 686).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help